This appendix contains examples of host definitions for the Network Utility in the configurations used in this manual.
Specifically, definitions for the following environments are presented:
Additionally, the differences between a Network Utility with an ESCON channel adapter and a parallel channel adapter are highlighted.
For more information on defining the Network Utility to the host, refer to the IBM 2216 Nways Multiaccess Connector Software User's Guide, SC30-3886.
There are three steps to define a channel-attached Network Utility to the host:
This will be done either from the I/O configuration program (IOCP) or the Hardware Configuration Definition (HCD), depending on your MVS version. (HCD requires MVS/ESA SP version 4.2 or later with APAR# OY67361.)
The definition statements are slightly different for an ESCON channel-attached device than for a parallel channel-attached device. An example of these definitions is given in Sample Host IOCP Definitions.
For most systems, the definitions are the same for an ESCON adapter as they are for a parallel channel adapter. Obviously, they depend on the operating system being used. An example of these definitions is given in Defining the Network Utility in the Operating System.
These definitions depend on whether you are defining an LSA (SNA), an LCS (TCP/IP), or an MPC+ (SNA and/or TCP/IP) interface on the Network Utility. Section VTAM Definitions shows examples of the required VTAM definitions. Section Host IP Definitions shows examples of the required TCP/IP definitions.
You make definitions at this level via the IOCP or with HCD. If HCD is available, you will probably want to use it. HCD offers an improved method of defining system hardware configuration. With HCD several complex steps required for entering hardware configuration data can be accomplished using an interactive dialog. This chapter presents only the IOCP macros that would be generated from HCD.
An example of the definitions required in the host I/O Configuration Program (IOCP) for a Network Utility configured with an ESCON adapter is shown in Figure 18-1.
Figure 18-1. Sample Host IOCP Definitions for the Network Utility (ESCON)
CHPID PATH=((05)),TYPE=CNC CNTLUNIT CUNUMBR=1E0,PATH=05,CUADD=0, UNITADD=((E0,32)),LINK=3C,UNIT=3172 IODEVICE UNIT=3172,ADDRESS=((1E0,32)), CUNUMBR=1E0
The following sections describe the IOCP macros that you need for defining the Network Utility at the host.
This identifies the host logical partitions (LPARs) by name and number. This statement is not present if the host is not partitioned as is the case in the example above.
The name identifies the LPAR and is used in the rest of the channel path definition. The number is the corresponding LPAR number. The LPAR number is used in defining the subchannel on the Network Utility. If the host is not partitioned, the LPAR number is always 0.
The CHPID identifies the type of channel connection and who uses it.
This uniquely identifies the channel path. This value is often called the "CHPID number".
This indicates that the channel is an ESCON channel. The channel type is CNC for ESCON and BL for block multiplexor (Parallel Channel Adapter).
This identifies which ESCON Director is in this path. If no director is being used, this parameter is omitted.
This indicates that the CHPID can be used by multiple LPARs simultaneously. If not present, only one LPAR can use the CHPID at a time.
This is one form of the PARTITION parameter and it contains an access list of LPARS that indicates which partitions have access to this channel. The names must be included in the RESOURCE statement.
This is the other form of the PARTITION parameter. In this form, the first grouping of names is the access list of LPARs, as above. The second grouping is the list of candidate LPARs that an operator could configure to have access to the channel. The second grouping will have at least the same LPARs as the first grouping and it may specify additional LPARs also.
This statement, along with the IODEVICE statement, defines the path from the host to the Network Utility. The CNTLUNIT and IODEVICE statements occur in pairs. If multiple LPARs are being defined to use a single CHPID, there must be a CNTLUNIT and IODEVICE statement for each LPAR.
This is an identifier for the control unit definition.
This number identifies the CHPID being used.
This identifies the type of control unit at the other end of the channel. The value is always 3172 when talking to a Network Utility. The IBM 3172 was the predecessor of the Network Utility ESCON channel function.
This value identifies the control unit address of the Network Utility. The default is 0.
This defines the range of addresses reserved for this control unit, where:
The example above defines a range of 32 control unit addresses, or subchannels, starting from E0 hex and going upwards. The device addresses specified on the Network Utility LCS, LSA, or MPC+ interface definition must be from within this range. The Network Utility can use a maximum of 64 subchannels.
The value for the LINK parameter should be set to the port of the ESCON Director (ESCD) that the Network Utility is attached to. Because the ESCD is a switch, you can think of the link parameter as the phone number that the host will use to reach the Network Utility through the switch.
This statement, along with the CNTLUNIT statement, identifies the Network Utility connection to the host.
This parameter identifies the range of addresses to the rest of the host, where:
This address is different from the UNITADD. It is used in the TCP/IP profile (for LCS), the VTAM XCA Major Node Definition (for LSA), and the VTAM TRL (for MPC+) to identify the subchannels being used.
This identifies the corresponding CNTLUNIT statement to this IODEVICE statement. While the value for this parameter has to be the same for both the CNTLUNIT and the IODEVICE macros, it does not have to relate to any other parameter. It is a good idea, however, to make it the same value specified in the ADDRESS parameter in the IODEVICE macro. The value for CUNUMBR has no significance outside the Channel Path Definition.
This identifies the type of device that is downstream. It should always be 3172 if the control unit is a Network Utility. The IOCP software in the host does not look at this field. If you are migrating from an IBM 3172 to the Network Utility, you might have a value of UNIT=SCTC in the existing IOCP statement. This should be changed to 3172 for the Network Utility.
This is the device candidate list and it contains a list of one or more LPARs that have access to the device. This list is a subset of the list of LPARs specified in the CHPID statement and it is used to restrict which LPARs in the channel candidate list are allowed to use these devices. If the host is not partitioned, this field will not be present.
Figure 18-2 shows an example of the IOCP statements for defining a Network Utility with a Parallel Channel Adapter (PCA).
Figure 18-2. Sample Host IOCP Definitions for the Network Utility (PCA)
CHPID PATH=((05)),TYPE=BL CNTLUNIT CUNUMBR=640,PATH=05 PROTOCL=S4,UNIT=3172 SHARED=N,UNITADD=((40,32)) IODEVICE UNIT=3172,ADDRESS=((640,32)) STADET=N,CUNUMBR=640,TIMEOUT=Y
Note the following points concerning the IOCP statements for a Network Utility with a PCA.
For the Network Utility, set the value to S4. The transfer mode and channel parameter must conform with the PCA setting for transfer mode and channel transfer speed.
The following sections describe the definitions needed for various host operating systems.
You must define the Network Utility to a VM/SP operating system by updating the real I/O configuration file (DMKRIO) with entries for the Network Utility in the RDEVICE and the RCTLUNIT macros. In the following example, 640 is the base unit address and the size of the address range is 32.
RDEVICE ADDRESS=(640,32),DEVTYPE=3088 RCTLUNIT ADDRESS=640,CUTYPE=3088,FEATURE=32-DEVICE
You must define the Network Utility to a VM/Extended Architecture (VM/XA or VM/ESA operating system by updating the real I/O configuration file (HCPRIO) with an entry for the Network Utility in the RDEVICE macro. In the following examples, 640 and 2A0 are base control unit addresses. The address range size, as defined in the UCW or IOCP, is 8 in both examples.
The following example is a VM/XA HCPRIO definition:
RDEVICE ADDRESS=(640,8),DEVTYPE=CTCA
The following example is a VM/ESA HCPRIO definition:
RDEVICE ADDRESS=(2A0,8),DEVTYPE=CTCA
You must define the Network Utility to an IBM Multiple Virtual Storage/Extended Architecture (MVS/XA) or MVS/ESA operating system by updating the MVS Control Program with an entry for the Network Utility in the IODEVICE macro.
For ESCON channels, an example IODEVICE macro is:
IODEVICE UNIT=3172,ADDRESS(540,8)
For parallel channels, an example IODEVICE macro is:
IODEVICE UNIT=CTC,ADDRESS(640,8)
The base control unit addresses are 540 and 640. The address range size, as defined in the UCW or IOCP, is 8 in both examples.
The hardware configuration definition (HCD) component of MVS/ESA SP Version 4.2 and 4.3 with APAR #OY67361 offers an improved method of defining the system hardware configuration for Network Utility. You can accomplish the several complex steps required for entering hardware configuration data by using an interactive dialog with HCD.
The required configuration data for the Network Utility is:
IODEVICE UNIT=3172,ADDRESS(740,8)
IODEVICE UNIT=CTC,ADDRESS(840,8)
IODEVICE UNIT=SCTC,ADDRESS(A40,8)
Notes:
You must define the Network Utility to a VSE/ESA operating system by supplying an ADD statement for each channel unit address at initial program load (IPL) time. Code the device type on the ADD statement as CTCA, EML as shown in the following example:
ADD 640,CTCA,EML
The base control unit address is 640 in the example. For the number of channel unit addresses added, increment the IOTAB storage macro by this count.
This section gives sample VTAM definitions for an XCA major node, an MPC+ local PU and Transport Resource List (TRL) major node, and an example of defining VTAM for APPN and DLUR support. It also shows an example of a switched major node for a PU in a TN3270 server. This section is not meant to be a complete reference on the subject. For more information on configuring VTAM, refer to the CS OS/390 Resource Definition Reference, SC31-8565.
When defining a channel gateway using LSA to VTAM, a definition for an External Communications Adapter (XCA) is required. This definition is the same as that used for an IBM 3172. An example is shown in Figure 18-3.
Figure 18-3. XCA Major Node Definition Sample for LSA Direct Connection
********************************************************************** RAINETU VBUILD TYPE=XCA (1) ** ** RANETUP PORT ADAPNO=0, (2) * X CUADDR=285, (3) * X MEDIUM=RING, (4) * X SAPADDR=4, (5) * X TIMER=60 ** ********************************************************************** RANETUG1 GROUP DIAL=YES,CALL=INOUT,DYNPU=YES * RANETUL1 LINE ANSWER=ON,ISTATUS=ACTIVE RANETUP1 PU ISTATUS=ACTIVE RANETUL2 LINE ANSWER=ON,ISTATUS=ACTIVE RANETUP2 PU ISTATUS=ACTIVE RANETUL3 LINE ANSWER=ON,ISTATUS=ACTIVE RANETUP3 PU ISTATUS=ACTIVE RANETUL4 LINE ANSWER=ON,ISTATUS=ACTIVE RANETUP4 PU ISTATUS=ACTIVE RANETUL5 LINE ANSWER=ON,ISTATUS=ACTIVE RANETUP5 PU ISTATUS=ACTIVE RANETUL6 LINE ANSWER=ON,ISTATUS=ACTIVE RANETUP6 PU ISTATUS=ACTIVE RANETUL7 LINE ANSWER=ON,ISTATUS=ACTIVE RANETUP7 PU ISTATUS=ACTIVE RANETUL8 LINE ANSWER=ON,ISTATUS=ACTIVE RANETUP8 PU ISTATUS=ACTIVE RANETUL9 LINE ANSWER=ON,ISTATUS=ACTIVE RANETUP9 PU ISTATUS=ACTIVE |
Notes: |
(1) TYPE must be XCA (2) ADAPNO is the LAN number for the Network Utility interface. This value is assigned to the Network Utility's LSA interface when it is created. The value can be obtained from the Network Utility by listing the configuration of the interface from the talk 6 menus, or it can be retrieved by entering the list nets command from the ESCON console in Talk 5. Note that a wrong value for this parameter is the single most common error in LSA configuration. (3) CUADDR specifies the subchannel to be used to communicate with the Network Utility. This value must be within the range of values specified in the IODEVICE statement in the IOCP definition. (4) This specifies the physical LAN topology to which the LSA interface is attached. This corresponds to the value specified for LANtype for the Network Utility interface. Valid values are MEDIUM=RING for Token-Ring, MEDIUM=CSMACD for Ethernet, and MEDIUM=FDDI for a Fiber Distributed Data Interface (FDDI) network.
(5) SAPADDR is the Service Access Point number VTAM wishes to open on the Network Utility. Note that it is the SOURCE SAP, not the DESTINATION SAP. When more than one active XCA major node refers to the same LAN, all the XCA major nodes have to use different SAPs. |
The CALL field can be one of the following:
If VTAM is going to dial out, the Switched Major Node definition must specify a destination with a PATH statement.
An asterisk in the first column indicates a statement has been commented out, and should be ignored. A character in the last column indicates the next line is a continuation of this line.
An MPC+ connection requires entries in two VTAM control blocks:
Figure 18-4 shows a sample definition for a local SNA major node for a Network Utility MPC+ connection. This is the local PU that resides in VTAM that supports the channel connection defined in the TRL. The connection type must be APPN and you also need to enable HPR.
Figure 18-4. VTAM Local Major Node Definition
LOCNETU VBUILD TYPE=LOCAL MPCNETUP PU TRLE=MPCNETU, XID=YES, CONNTYPE=APPN, CPCP=YES, HPR=YES |
Notes:
Next, you need a transport resource list for the MPC+ connection from the Network Utility. An example definition is shown in Figure 18-5.
Figure 18-5. VTAM Transport Resource List (TRL) Definition
VBUILD TYPE=TRL MPCNETU TRLE LNCTL=MPC, MAXBFRU=9, READ=280, WRITE=281, MPCLEVEL=HPDT, REPLYTO=3.0 |
Notes:
Note: | The designations READ and WRITE here are from the HOST perspective. In the Network Utility MPC+ definition, the designations are from the Network Utility perspective. Therefore, subchannels designated as READ on the host must be designated as WRITE on the Network Utility, and vice versa. |
If VTAM is configured for DLUS, then it must be an APPN network node. Configuring VTAM as an APPN network node requires certain parameters to be specified in the VTAM start-up parameters. These are shown in Figure 18-6. Set the CONNTYPE to APPN and the NODETYPE to a Network Node (NN).
Figure 18-6. VTAM Start-up Parameters
ASYDE=TERM,IOPURGE=5M, CONFIG=I0, CONNTYPE=APPN, CPCP=YES, CSALIMIT=0, DYNADJCP=YES, ENCRYPTN=NO, GWSSCP=YES, HOSTPU=ISTPUS18, HOSTSA=18, HPR=RTP, NETID=USIBMRA, NODETYPE=NN, NOTRACE,TYPE=VTAM,IOINT=0 PPOLOG=YES SORDER=APPN, SSCPDYN=YES, SSCPID=18, SSCPNAME=RAI, SSCPORD=PRIORITY, SUPP=NOSUP, TNSTAT,CNSL, VRTG=YES OSITOPO=LLINES, OSIMGMT=YES XNETALS=YES |
VTAM definitions are required for the PUs used by the TN3270E Server. You need a switched major node definition for each PU in the TN3270E server. For example, each PU in the TN3270E server can support up to 253 LUs. If you need 500 3270 sessions, then you will need 2 PUs in the router and 2 PU definitions in VTAM.
Figure 18-7 shows an example of a VTAM switched major node definition for a TN3270E server PU that is connected via DLUR and APPN.
Figure 18-7. VTAM Definitions for a TN3270E Server PU (DLUR/APPN)
LOCNETU VBUILD TYPE=SWNET MNETUA PU ADDR=01,ISTATUS=ACTIVE,VPACING=0, * DISCNT=NO,PUTYPE=2,SSCPFM=USSSCS,USSTAB=US327X, * IDBLK=077,IDNUM=02216,IRETRY=YES,MAXDATA=521, * MAXOUT=7,MAXPATH=8,PASSLIM=7,PACING=0,ANS=CONTINUE ******************************************************************** PNETUA PATH PID=1,DLCADDR=(1,C,INTPU),DLCADDR=(2,X,07702216), * DLURNAME=MNETUA ******************************************************************** JC7LU2 LU LOCADDR=2 JC7LU3 LU LOCADDR=3 JC7LU4 LU LOCADDR=4 |
Figure 18-8 shows an example of a VTAM switched major node definition for a TN3270E server PU that uses a subarea connection to the host.
Figure 18-8. VTAM Definitions for a TN3270E Server PU (Subarea)
LSAP08T VBUILD TYPE=SWNET PUPS08T PU ADDR=01,IDBLK=077,IDNUM=12244,MAXOUT=7,PACING=0,VPACING=0, DLOGMOD=B22NNE,PUTYPE=ANY, SSCPFM=USSSCS,MAXDATA=2000,MODETAB=LMT3270 PT08LU2 LU LOCADDR=02,LOGAPPL=TSO PT08LU3 LU LOCADDR=03,LOGAPPL=TSO PT08LU4 LU LOCADDR=04,LOGAPPL=TSO PT08LU5 LU LOCADDR=05,LOGAPPL=TSO PT08LU6 LU LOCADDR=06,LOGAPPL=TSO |
The following sections provide an overview of the statements in the Switched Major Node Definition.
The TYPE field must be TYPE=SWNET.
This statement defines the type of data flow and the destination. The pertinent parameters are:
These statements define the logical units (LUs) that can be contacted through this PU. The name on the left of each statement is the name that the host uses to address each LU. The LOCADDR is used by the Network Utility to identify the correct LU in VTAM.
If VTAM is going to dial out, the Switched Major Node definition must specify a destination with a PATH statement. The path statement will be different depending on whether the TN3270E server attaches via a Subarea or a DLUR/APPN connection.
For a subarea connection, the format is:
PATH DIALNO=xxyyzzzzzzzzzzzz
where:
The example in Figure 18-8 does not have a PATH statement because in this example, the downstream PU will contact VTAM instead of VTAM dialing out to the device.
The example in Figure 18-7 shows a PATH statement for a TN3270E server PU that is using DLUR to connect to the host. Here, the PATH statement identifies the CP name of the Network Utility (MNETUA) via the DLURNAME parameter. This is needed in order for the LU6.2 conversation between the DLUR and DLUS to be established. Once this session has been established, the SSCP-PU session between VTAM and the TN3270E server PU will be established using the IDBLK/IDNUM value specified by DLCADDR=(2,X,07702216).
For the latest information, please refer to "Dynamic Definition of Dependent LUs".
Defining the Network Utility to the host for a TCP/IP connection requires you to make changes to the host TCP/IP profile. This section gives an overview of the relevant statements that need to be changed.
This statement defines the subchannel pair being used by TCP/IP. The format is:
DEVICE name LCS subchannel
where:
A TCP/IP profile must contain one DEVICE statement for each subchannel pair being used.
This statement identifies which LCS interfaces on the Network Utility are being used on a given subchannel pair. The format is:
LINK name lantype lannumber devicename
where:
There can be multiple LINK statements associated with a single DEVICE statement. There must be an LCS interface on the Network Utility for each LINK statement.
This statement specifies the IP address(es) of the host TCP/IP stack. The format is:
HOME ipaddress1 link1 ipaddress2 link2
where:
There must be only one HOME address for each LINK statement. The HOME address must be in the same IP subnet as the IP address of the LCS interface in the Network Utility, but they must be different addresses.
This statement identifies the IP routing information for the host. It is divided into three sections:
The format for Direct Routes is:
network firsthop linkname pktsize submask subvalue
where:
The format for Indirect Routes is:
network firsthop linkname pktsize submask subvalue
where:
The format for Default Routes is:
network firsthop linkname pktsize submask subvalue
where:
This statement causes the specified subchannels to be started. The format is:
START devicename
where devicename is the name on the DEVICE statement above.
There must be a START statement for every DEVICE statement if the customer wishes to activate the devices when TCP/IP is started. If the START statement is not here, the devices can be started using the OBEY file. Note that the name here is the one from the DEVICE statement, not the LINK statement. Note also that the Network Utility LCS interface will remain in the DOWN state until the START has been issued from TCP/IP.
This section gives you examples of the above statements required if you are defining an LCS connection.
DEVICE LCS1 LCS 210
where LCS1 is the device name being defined, LCS is the type of device, and 210 is the host read (Network Utility write) subchannel used for this definition.
LINK ETHLCS1 802.3 0 LCS1
where ETHLCS1 is the link name, 802.3 is the LAN type to which the LCS interface attaches on the Network Utility, 0 is the LAN number assigned by the Network Utility, and LCS1 is the name of the device (from the device statement above).
Note: | Remember that the LAN number is automatically assigned by the Network Utility when you define the LCS interface. You can obtain it by issuing a list all command from the ESCON Config> prompt in the talk 6 process on the Network Utility console. |
HOME 9.24.106.72 ETHLCS1
where 9.24.106.72 is the IP address of this LCS interface and ETHLCS1 is the name of the link.
GATEWAY 9.24.106 9.24.106.1 ETHLCS1 4096 0
where 9.24.106 is the IP address for the network, 9.24.106.1 is the IP address of the default router, ETHLCS1 is the link name defined by the LINK statement above, 4096 is the MTU size, 0 is the subnet mask, and the subnet value has been left blank.
To activate the device defined in step 1, issue the following command:
start lcs1
The steps for configuring TCP/IP in the host for an MPC+ connection are the same as for an LCS connection. However, the command syntax for the device and link commands is slightly different. For an MPC+ connection, the syntax for the device command is:
DEVICE IPTRL1 MPCPTP
where IPTRL1 is the name of the TRL that this connection will use and MPCPTP specifies an MPC point-to-point link.
To define the link, the syntax is:
LINK LINK1 MPCPTP IPTRL1
where LINK1 is the link name and the other two parameters are the same as those used in the device statement.